i = 0
import time
print('进入课程视频界面')
time.sleep(2)
while True:
    i = 0

    for i in range(1,11):   #进度条模拟
        print(i)
        time.sleep(1)

    exit_in = input(':')
    if exit_in == 'exit':
        exit()

    if i == 10:
        i += 1
        print(f'进度条结束{i}')
        continue

